﻿namespace GoodAdmin.System;

public interface IExtraPosService
{
    /// <summary>
    /// 添加职位
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task AddPosition(PositionAddInput input);

    /// <summary>
    /// 更新职位
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task UpdatePosition(PositionUpdateInput input);
    /// <summary>
    /// 删除职位
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task DeletePosition(List<BaseIdInput> input);

    /// <summary>
    /// 分页查询职位
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<SqlSugarPagedList<SysPosition>> GetPositionPageList(PositionPageInput input);

    /// <summary>
    /// 根据组织获取职位列表
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<List<SysPosition>> GetPositionList(PositionSelectorInput input);
}
